package com.sl.au.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.transaction.annotation.Transactional;

import com.sl.au.entity.ExdeTbOPPlanTaskDetailReplace;

@Transactional(readOnly = true)
public interface ExdeTbOPPlanTaskDetailReplaceRepository extends JpaRepository<ExdeTbOPPlanTaskDetailReplace, String> {

	@Query(" select e from ExdeTbOPPlanTaskDetailReplace e where e.OpPlanTaskId = ?1 ")
	List<ExdeTbOPPlanTaskDetailReplace> findByPlanTaskId(String PlanTaskId);

}
